﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<iss.sg4210.se18.team6s.jass.DAL.AdvertiserAccountTopUpLog>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Advertiser Account</h2>
    <table class="lsttable">
        <tr class="lstth">

            <th>
                Topup Date
            </th>
            <th>
                Amt
            </th>
            <th>
                User Name
            </th>
                        <th>
            </th>
        </tr>
        <% foreach (var item in Model)
           { %>
        <tr>

            <td valign="top" class="lsttd" >
                <%: item.TopUpDate%>
            </td>
            <td valign="top" class="lsttd" >
                <%: String.Format("{0:F}", item.Amt) %>
            </td>
            <td valign="top" class="lsttd" >
                <%: item.UserId %>
            </td>
                        <td valign="top" class="lsttd">
                <%: Html.ActionLink("Details", "Details", new { id=item.Id })%>
            </td>
        </tr>
        <% } %>
    </table>
    <p>
        <%: Html.ActionLink("Create New", "Create") %>
    </p>
</asp:Content>
